package com.imooc.mvcdemo.controller;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Scope("prototype")
@RequestMapping("/hello")
public class HelloMvcController {
	
	@RequestMapping("/mvc")
	public String helloMvc(){
		return "home";
	}
	@RequestMapping(value="/mvc2")
	public String helloMvc2(){
		return "home";
	}
}
